package com.szd.services;

import com.szd.Iservice.GoodsIService;
import com.szd.mapper.GoodsMapper;
import com.szd.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServices implements GoodsIService {
    @Autowired
    GoodsMapper mapper = null;
    @Override
    public List<Goods> find() {
        List<Goods> list = mapper.find();
        System.out.print(list);
        return list;
    }
}
